getTextRenderDiagnostics

Returns current font provenance, missing glyph ranges, and optional planar layout.

Processes pending layout synchronously, including when implicit updates are disabled, without waiting for font resources. Indices are half-open UTF-16 offsets into the returned rendered text after case transformations and template substitutions. Layout excludes strokes, effects, animations, and block transforms. Pending and curved text can have no planar layout.

Parameters

block

the text block to query.

Throws

if the block is invalid or does not support text.